package com.youhong.teethcare.plaque;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;

import com.youhong.teethcare.R;

public class PlaqueIntroductionActivity extends Activity {

    ImageView iv_back;
    Button btn;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_plaque_introduction);
        btn = findViewById(R.id.plaqueIntroduction_btn);
        iv_back = findViewById(R.id.aboutUs_iv_back);
        iv_back.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                PlaqueIntroductionActivity.this.finish();
            }
        });
        btn.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {

                Intent intent = new Intent(PlaqueIntroductionActivity.this,PlaqueChartActivity.class);
                startActivity(intent);
                finish();
            }
        });

    }



}
